package cn.hbwe.mapper;

import cn.hbwe.pojo.entity.Doctor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 7组
 * @since 2023-10-18
 */
@Mapper
public interface DoctorMapper extends BaseMapper<Doctor> {

    /**
     * 根据科室id查询医生信息
     * @param id
     * @return
     */
    List<Doctor> getByDepartmentId(Integer id);
}
